import {ColorPickerEmits, ColorPickerProps} from "element-plus"
import {CreateFormElsComponents} from "../render/common.ts"
import {ElColorPickerCustomerProps, ElColorPickerCustomerEvents, ElColorPickerCustomerExtend} from "./index.ts"

type ElColorPickerProps = ElColorPickerCustomerProps & ColorPickerProps

type ElColorPickerEvents = ElColorPickerCustomerEvents & ColorPickerEmits

type ElColorPickerExtend = ElColorPickerCustomerExtend

export type ElColorPicker<Prop> = CreateFormElsComponents<'el-input-number', Prop, ElColorPickerProps, ElColorPickerEvents> & ElColorPickerExtend
